package com.yb0os1.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SetmealDish implements Serializable {
    @Schema(name = "套餐和菜品的关系id")
    private Long id;

    @Schema(name = "菜品名称")
    private String name;

    @Schema(name = "菜品价格")
    private BigDecimal price;

    @Schema(name = "份数")
    private Integer copies;

    @Schema(name = "菜品id")
    private Long dishId;

    @Schema(name = "套餐id")
    private Long setmealId;
}
